package com.bookstore.service;

import com.bookstore.entity.User;

import java.util.List;

public interface UserService {
    /**
     * 注册用户
     *
     * @param user
     */
    int registUser(User user);

    User login(User user);

    List<User> queryAll();
}
